<?php

class Config
{
    protected static $_config;

    public static function load()
    {
        require('/config.php');
        self::$_config = $config;
    }

    public static function get($name)
    {
        if (isset(self::$_config[$name]))
            return self::$_config[$name];

        return null;
    }
}

?>